MYOB Exo Business

Hide NavigationShow Navigation

  • Contents
  • Index
  • Search
 
Show results that include all search words

 

Code Toolbox

The Code Toolbox has three tabs: Data, Objects and Language. Any items listed in the bottom pane of any of the three tabs is able to be clicked on and dragged onto the code writing area to form part of your code (this just saves typing time).

1. Data Tab

The top pane lists our available data sources. As you click on a data source the fields available in that data source appear below. 

2. Objects Tab

The top pane shows a tree view of the report, similar to what you see in other areas of Clarity. When you click on a report object the properties belonging to that object appear in the bottom pane. You are able to use these values in your code, either reading from them or changing them, if it is not a “Read Only” property.

3. Language Tab

The language tab contains templates for the many functions and values that are available for use within Clarity. These functions and values are separated into different areas and you click on the area you require in the top pane to reveal the list of function templates / values that are available.

For exampl, to set all letters of a string to lowercase, click on the String item in the upper pane and then drag the LowerCase item from the lower pane onto the code area.

         

You can usually tell from the definition column how to use each function. In the example above you need to enter the string to convert in between the brackets and that the function will return a string.

Example:

Text := LowerCase ('THIS is my String');

Would result in the Text property becoming:

this is my string